#ifndef TSYSTEM_H
#define	TSYSTEM_H

#include <cppunit/extensions/HelperMacros.h>
#include "../System.h"
#define CT CPPUNIT_TEST
#define CA CPPUNIT_ASSERT

class tSystem : public CPPUNIT_NS::TestFixture {
    CPPUNIT_TEST_SUITE(tSystem);

    CT(logintest);
    CT(usertests);

    CPPUNIT_TEST_SUITE_END();

public:
    tSystem();
    virtual ~tSystem();
    void setUp();
    void tearDown();

private:
    void logintest();
    void usertests();

    System sys;
};

#endif	/* TSYSTEM_H */

